package com.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mapper.auto.MajorCategoryInfoMapper;
import com.model.auto.MajorCategoryInfo;
import com.service.IMajorCategoryInfoService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 学科门类信息表 服务实现类
 * </p>
 *
 * @author astupidcoder
 * @since 2022-09-14
 */
@Service
public class MajorCategoryInfoServiceImpl extends ServiceImpl<MajorCategoryInfoMapper, MajorCategoryInfo> implements IMajorCategoryInfoService {

    @Override
    public MajorCategoryInfo queryById(Integer id) {
        return baseMapper.queryById(id);
    }

    @Override
    public MajorCategoryInfo queryByParam(Integer catType, Integer level, String code) {
        return baseMapper.queryByParam(catType, level,code);
    }
}
